﻿using EntityFrameworkETL.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityFrameworkETL.Test.Mocks
{
    public class ExecuteBatchCommandsMock : IExecuteBatchCommands
    {
        public ExecuteBatchCommandsMock()
        {
            Calls = 0;
        }

        public int Calls { get; set; }

        public void Execute(IEnumerable<System.Data.Common.DbCommand> commands)
        {
            Calls += 1;
        }
    }
}
